package personal.gj.exam.Service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import personal.gj.exam.Mapper.GoodsMapper;
import personal.gj.exam.Model.Goods;
import personal.gj.exam.Service.GoodsService;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    GoodsMapper goodsMapper;

    @Override
    public List<Goods> findAll() {
        return goodsMapper.selectAll();
    }
}
